package com.netease.b.a;

import com.netease.b.b.e.j;
import com.netease.framework.a.k;
import com.netease.framework.a.m;
import com.netease.pris.atom.ac;
import com.netease.pris.atom.b;
import com.netease.pris.atom.u;
import com.netease.pris.c.l;
import com.netease.pris.protocol.c;
import java.util.Iterator;
import java.util.LinkedList;

public class y extends ag
{
  static final String a = "PRISTransactionComment";
  String b;
  String c;
  String d;
  String e;
  String f;
  String g;
  String i;
  b j;
  m k;

  protected y(String paramString1, String paramString2, String paramString3, String paramString4, String paramString5, String paramString6, int paramInt)
  {
    super(paramInt);
    this.b = paramString1;
    this.c = paramString2;
    this.d = paramString5;
    this.e = paramString3;
    this.f = paramString4;
    this.g = paramString6;
    this.j = b.a;
  }

  protected y(String paramString1, String paramString2, String paramString3, String paramString4, String paramString5, String paramString6, b paramb, int paramInt)
  {
    super(paramInt);
    this.b = paramString1;
    this.c = paramString2;
    this.d = paramString5;
    this.e = paramString3;
    this.f = paramString4;
    this.g = paramString6;
    this.j = paramb;
  }

  public static y a(String paramString1, String paramString2, String paramString3, String paramString4)
  {
    return new y(paramString1, paramString2, null, null, paramString3, paramString4, 800);
  }

  public static y a(String paramString1, String paramString2, String paramString3, String paramString4, b paramb)
  {
    return new y(paramString1, paramString2, null, null, paramString3, paramString4, paramb, 805);
  }

  public static y a(String paramString1, String paramString2, String paramString3, String paramString4, b paramb, String paramString5, String paramString6)
  {
    return new y(paramString1, paramString2, paramString5, paramString6, paramString3, paramString4, paramb, 807);
  }

  public static y a(String paramString1, String paramString2, String paramString3, String paramString4, b paramb, String paramString5, boolean paramBoolean1, boolean paramBoolean2)
  {
    int m = 0;
    int n = 809;
    if (paramBoolean1)
    {
      m = 1;
      n = 810;
    }
    if (paramBoolean2);
    for (int i1 = m | 0x2; ; i1 = m)
      return new y(paramString1, paramString2, paramString5, String.valueOf(i1), paramString3, paramString4, paramb, n);
  }

  public static y a(String paramString1, String paramString2, String paramString3, String paramString4, String paramString5)
  {
    return new y(paramString1, paramString2, paramString5, null, paramString3, paramString4, 801);
  }

  private ac a(b paramb)
  {
    ac localac = null;
    if (paramb == b.b)
    {
      j localj2 = l.b(d.h().a(), this.b, 3);
      if (localj2 != null)
        localac = new ac(localj2);
    }
    while (true)
    {
      return localac;
      if (paramb != b.c)
        continue;
      j localj1 = l.b(d.h().a(), this.b, 1);
      if (localj1 == null)
        continue;
      localac = new ac(localj1);
    }
  }

  public static y b(String paramString1, String paramString2, String paramString3, String paramString4)
  {
    return new y(paramString1, paramString2, null, null, paramString3, paramString4, 804);
  }

  public static y b(String paramString1, String paramString2, String paramString3, String paramString4, b paramb)
  {
    return new y(paramString1, paramString2, null, null, paramString3, paramString4, paramb, 806);
  }

  public static y b(String paramString1, String paramString2, String paramString3, String paramString4, String paramString5)
  {
    return new y(paramString1, paramString2, paramString5, paramString4, paramString3, null, 803);
  }

  public static y c(String paramString1, String paramString2, String paramString3, String paramString4)
  {
    return new y(paramString1, paramString2, null, paramString4, paramString3, null, 802);
  }

  public static y c(String paramString1, String paramString2, String paramString3, String paramString4, b paramb)
  {
    return new y(paramString1, paramString2, null, paramString4, paramString3, null, paramb, 808);
  }

  public void b(com.netease.pris.protocol.d paramd)
  {
    paramd.a(this.g);
    switch (n())
    {
    default:
    case 805:
    case 806:
    case 807:
    case 808:
    case 809:
    case 810:
    }
    while (true)
    {
      super.b(paramd);
      return;
      Iterator localIterator = paramd.h.iterator();
      while (localIterator.hasNext())
        ((u)localIterator.next()).a(true);
    }
  }

  public void c()
  {
    ac localac;
    k localk;
    switch (n())
    {
    default:
      localac = a(this.j);
      if (localac != null)
        break;
      d(501, null);
      localk = null;
      if (localk == null)
      {
        d(10006, null);
        h();
      }
    case 800:
    case 804:
    case 801:
    case 802:
    case 803:
    }
    while (true)
    {
      return;
      localk = c.e(this.d, this.b, this.c);
      break;
      localk = c.a(this.d, this.e, this.g, this.b, this.c);
      break;
      if (!d.h().i())
      {
        localk = c.a(this.d, this.f, this.b, this.c);
        break;
        if (!d.h().i())
        {
          localk = c.b(this.d, this.f, this.b, this.c, this.i);
          break;
        }
      }
      switch (n())
      {
      default:
        localk = null;
        break;
      case 805:
      case 806:
        localk = c.c(this.d, localac, this.b, this.c);
        break;
      case 807:
        localk = c.a(this.d, this.e, this.g, localac, this.f, this.b, this.c);
        break;
      case 808:
        localk = c.a(this.d, this.f, localac, this.b, this.c);
        break;
      case 809:
      case 810:
        localk = c.a(this.d, this.g, localac, this.e, this.f, this.b);
        break;
        this.k = localk;
        a(this.k);
      }
    }
  }
}

/* Location:           D:\android\hack\dex2jar-0.0.9.8\classes_dex2jar.jar
 * Qualified Name:     com.netease.b.a.y
 * JD-Core Version:    0.6.0
 */